<?php
    require ("../DAO/PortalDAO.php");
    $portalDao = new PortalDAO();
    $action = $_REQUEST['action'];

    if($action == 'loadForums'){

    $forums = $portalDao->getForumsList();
    echo json_encode($forums);
    
    
    }
   


    
?>

